/* Default styling for all screen sizes */
* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%; /* Take full width of the viewport */
    margin: 0 auto; /* Center content on larger screens */
    padding: 0;
}

/*---------------------------  nav bar   ---------------------------*/
.lblres {
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    z-index: 9000;
    width: 100%;
    text-align: center;
    border: solid;
    display: none;
}

.navbar {
    padding: 0;
    margin: 0;
    background-color: var(--tkbgcolor2);
    transition: background-color 0.5s ease-in-out;
}

    .navbar.scrolled {
        background-color: rgba(55, 81, 126, 0.5); /* Semi-transparent */
    }


.bg-violet {
    background-color: rgba(55, 81, 126,0.6);
}

.navbarcontainer {
    display: flex;
    padding-left: 40px;
    padding-right: 40px;
    width: 100%;
    align-items: center;
}

.brandcontainer {
    display: flex;
    align-items: center;
    width: 100%;
}

.logobrandlink {
    margin: 10px;
    padding: 0;
    text-decoration: none;
}

#fplogo {
    width: 44px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    margin: 0;
}

.navbartogglercontainer {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 5px;
    width: 100%;
    /*border:solid;*/
}

.navbar-toggler {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.navbar-nav {
    text-align: right;
    padding-right: 20px;
}


.nav-link:hover {
    color: rgba(255,255,255,1);
    text-shadow: 0 0 8px rgb(73,1,106);
}
/*---------------------------  sections  ---------------------------*/
main {
    /*transition: all 0.3s ease-in-out;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

#home, #about, #services, #contact {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

#home {
    color: white;
    background-color: rgb(55, 81, 126);
}

.homepanel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 150px;
}

.homepanelleft, .homepanelright {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.homepanelleft {
    flex-direction: column;
}

.homepanellefttop {
    font-size: 22px;
}

.homepanelleftbottom {
    font-size: 15px;
}

.pulse {
    flex-shrink: 0;
    width: 400px;
    animation: pulse 2s infinite ease-in-out alternate;
}

@keyframes pulse {
    from {
        transform: scale(0.95);
    }

    to {
        transform: scale(1);
    }
}

#about {
    background-color: rgba(149, 236, 252,0.5);
}

.aboutpanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.aboutpaneltop, .servicespaneltop, .servicespanelheading, .contactpanelheading {
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
}

.aboutpanelbottom, .servicespanelbottom, .contactpaneltext {
    text-align: center;
    padding: 0 150px;
}

#services {
    color: white;
    background-color: rgb(55, 81, 126);
}

.servicespanel {
    display:flex;
    flex-direction:column;
}

#contact {
    background-color: rgba(149, 236, 252,0.5);
}

.contactpanel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 150px;
}

.contactpaneltop {
    display:flex;
    flex-direction:column;
    width: 100%;
}

.contactpaneltext {
    display:flex;
    width:100%;
}

.contactpanelbottom {
    display: flex;
    flex-direction: row;
}

.contactpanelleft {
    padding: 20px;
}

.contactpanelleft, .contactpanelleftcontent {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contactpanelleftcontent {
    display: flex;
    padding: 15px;
    border: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: rgba(73,1,106,0.5);
    box-shadow: 0 0 20px grey;
}

    .contactpanelleftcontent div {
        display: flex;
        align-items: center;
    }

    .contactpanelleftcontent i {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        color: rgba(73,1,106,0.7);
        background-color: rgba(73,1,106,0.3);
        width: 44px;
        height: 44px;
        margin: 5px;
        border-radius: 50px;
    }

.address, .email {
    justify-content: center;
}

#fpdivmap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.contactpanelright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    width: 100%;
    
}

    .contactpanelright div {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
        width: 100%;
    }

    .contactpanelright textarea {
        width: 100%;
    }

.contactsend {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.captcha {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    /*border:solid;*/
}

.btnsend {
    width: 70px;
    height: 30px;
    border-width: 1px;
    border-color: rgba(73,1,106,1);
    border-radius: 15px;
    background-color: rgba(73,1,106,0.5);
    transition: all 1s ease;
}

    .btnsend:hover {
        color: white;
        background-color: rgba(73,1,106,1);
    }

footer {
    padding: 0 20px;
    font-size: smaller;
    color: rgba(0,0,0,0.5);
}
